package com.hzt.agprosaleplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@TableName("t_goods")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Good {
    @TableId(type = IdType.AUTO)
    private Integer gid;
    private String title;
    private String img;
    private String stock_quantity;
    private float g_price;
    private String price_unit;
    private String turnover;
    private String tags;
    private String province;
    private String city;
    private String category;
    private String shop_id;  //商家ID->用户ID
    private String description;
    private Integer isOnline;
    private Integer isDeleted;  //软删除字段  0默认 1已删除
}
